package com.lekang.le.mapper;

import com.lekang.ZcqEntity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface BillZcqMapper {
     List<BillInfoDTO> list(@Param("billNo") String billNo,
                            @Param("elderlyName") String elderlyName,
                            @Param("elderlyIdCard") String elderlyIdCard,
                            @Param("transactionStatus") String transactionStatus);

    BillInfoDTO detail(String billNo);

    Integer cancel(String billNo);

    List<RefundRecord> refund(RefundRecordQuery refundRecordQuery);

    Integer pay(String billNo);

    List<String> elderlyList();

    List<String> allBilledElderly();

    Integer generateMonthly(Bill bill);

   Long getId(@Param("elderlyName") String elderlyName);

    List<DebtOverdueVo> refundList(@Param("elderlyName") String elderlyName, @Param("bedNo") String bedNo);

    List<BillDetailVoZcq> elderlyBills(String elderlyName);
}
